<template>
    <div>
        <mt-header :title="title">
             <router-link to="/index/reset?title=班级相册" slot="left"> 
            <mt-button icon="back">返回</mt-button>
            </router-link> 
        </mt-header> 
         <clas-photo-component :claid=id :txt=txt></clas-photo-component>
        <!-- <h1>{{this.$route.query.id}}</h1> -->
        <!-- <h1>{{id}}</h1> -->
    </div>
</template>
<script>
import ClasPhotoComponent from './ClasPhotoComponent'
    export default{
        data(){
            return {
                title:'相册预览',
                id:'',
                txt:'上传'
            }
        },
        methods:{
        
        },
        props:[],
        components:{
            ClasPhotoComponent
        },
        mounted(){
            this.id=this.$route.query.id;
        }
    }
</script>